package com.pic.mgt.haishin.unit;

import java.io.File;
import java.util.Date;
import java.util.List;

import com.pic.mgt.unit.Redoable;

/**
 * An wapper for AppointedHaishinBusinessUnit
 * @author p10118178
 *
 */
public class RedoAppointedHaishinBusinessUnit extends
		AppointedHaishinBusinessUnit implements Redoable {
	
	private AppointedHaishinBusinessUnit appointedHaishinBusinessUnit;
	private List<String> redoAsginTerminalList;
	
	public RedoAppointedHaishinBusinessUnit(AppointedHaishinBusinessUnit appointedHaishinBusinessUnit) {
		super("");
		
		this.appointedHaishinBusinessUnit = appointedHaishinBusinessUnit;
	}

	@Override
	public List<String> getAppointedTerminals() {
		return this.appointedHaishinBusinessUnit.getAppointedTerminals();
	}

	@Override
	public void setAppointedTerminals(List<String> appointedTerminals) {
		this.appointedHaishinBusinessUnit.setAppointedTerminals(appointedTerminals);
	}

	@Override
	public long getBusinessFilesize() {
		return this.appointedHaishinBusinessUnit.getBusinessFilesize();
	}

	@Override
	public Date getExecutionTime() {
		return this.appointedHaishinBusinessUnit.getExecutionTime();
	}

	@Override
	public void setBusinessFilesize(long businessFilesize) {
		this.appointedHaishinBusinessUnit.setBusinessFilesize(businessFilesize);
	}

	@Override
	public void setExecutionTime(Date executionTime) {
		this.appointedHaishinBusinessUnit.setExecutionTime(executionTime);
	}

	@Override
	public String getBusinessSN() {
		return this.appointedHaishinBusinessUnit.getBusinessSN();
	}

	@Override
	public String getBusinessType() {
		return this.appointedHaishinBusinessUnit.getBusinessType();
	}

	@Override
	public File getTargetFile() {
		return this.appointedHaishinBusinessUnit.getTargetFile();
	}

	@Override
	public String getTargetFilename() {
		return this.appointedHaishinBusinessUnit.getTargetFilename();
	}

	@Override
	public String getUnitName() {
		return this.appointedHaishinBusinessUnit.getUnitName();
	}

	@Override
	public void setBusinessSN(String businessSN) {
		this.appointedHaishinBusinessUnit.setBusinessSN(businessSN);
	}

	@Override
	public void setBusinessType(String businessType) {
		this.appointedHaishinBusinessUnit.setBusinessType(businessType);
	}

	@Override
	public void setTargetFile(File targetFile) {
		this.appointedHaishinBusinessUnit.setTargetFile(targetFile);
	}

	@Override
	public String getBusinessName() {
		return this.appointedHaishinBusinessUnit.getBusinessName();
	}

	@Override
	public File getConfirmationFile() {
		return this.appointedHaishinBusinessUnit.getConfirmationFile();
	}

	@Override
	public String getConfirmationFilename() {
		return this.appointedHaishinBusinessUnit.getConfirmationFilename();
	}

	@Override
	public void setBusinessName(String businessName) {
		this.appointedHaishinBusinessUnit.setBusinessName(businessName);
	}

	@Override
	public void setConfirmationFile(File confirmationFile) {
		this.appointedHaishinBusinessUnit.setConfirmationFile(confirmationFile);
	}
	
	@Override
	public void setTargetFileSize(long targetFileSize) {
		this.appointedHaishinBusinessUnit.setTargetFileSize(targetFileSize);
	}
	
	@Override
	public long getTargetFileSize() {
		return this.appointedHaishinBusinessUnit.getTargetFileSize();
	}
}
